Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: update toolset configuration display name and other style settings #5343

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

anovazzi1
Copy link
Contributor

this pr update some default values for the tool table on tool-mode

Copy link

codspeed-hq bot commented Dec 18, 2024

CodSpeed Performance Report

Merging #5343 will not alter performance

Comparing updateToolmodeTexts (1c6a5d6) with main (870aedf)

Summary

✅ 15 untouched benchmarks

This commit updates the display name and description of the toolset configuration in the custom component. The display name is changed to "Edit tools" and the description is modified to "Modify tool names and descriptions to help agents understand when to use each tool." This improves the clarity and usability of the toolset configuration.
- Added "no_blank" field parser to remove leading and trailing whitespace from strings and throw an error if the string is blank.
- Added "valid_csv" field parser to replace whitespace with commas in strings.
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 14 changed files in this pull request and generated 1 comment.

Files not reviewed (9)
  • src/frontend/src/App.css: Language not supported
  • src/frontend/src/components/core/parameterRenderComponent/index.tsx: Evaluated as low risk
  • src/backend/base/langflow/base/tools/constants.py: Evaluated as low risk
  • src/backend/base/langflow/custom/custom_component/component.py: Evaluated as low risk
  • src/backend/base/langflow/inputs/input_mixin.py: Evaluated as low risk
  • src/backend/base/langflow/schema/table.py: Evaluated as low risk
  • src/frontend/src/components/core/parameterRenderComponent/components/TableNodeComponent/index.tsx: Evaluated as low risk
  • src/backend/base/langflow/base/tools/component_tool.py: Evaluated as low risk
  • src/frontend/src/modals/tableModal/index.tsx: Evaluated as low risk
Comments suppressed due to low confidence (1)

src/frontend/src/utils/utils.ts:543

  • [nitpick] The error message 'Error parsing string' could be more descriptive. Consider providing more context about the error.
useAlertStore.getState().setErrorData({

src/frontend/src/utils/stringManipulation.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant